package com.itheima.dao;

import com.itheima.pojo.BlogSort;
import org.apache.ibatis.annotations.Update;
import tk.mybatis.mapper.common.Mapper;

/**
 * description:
 *
 * @author Wangchang
 * @date 2020/8/4 9:41
 */
public interface BlogSortMapper extends Mapper<BlogSort> {

    @Update("UPDATE t_blog_sort SET sort = click_count")
    void blogSortByClickCount();
}
